package com.aruba.libmodule_a

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.aruba.libbase.ActivityCache
import com.aruba.librouter_annotation.Router
import com.aruba.librouter_annotation.model.RouterMeta
import com.aruba.librouter_router.ARouter

@Router(group = "module_a", path = "ModuleAActivity")
class ModuleAActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_module_aactivity)
    }

    fun toMain(view: android.view.View) {
        ARouter.INSTANCE.navigation(this, "app", "MainActivity")
    }
}